package com.ltx.blog_ltx.entity.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;


@Data
@AllArgsConstructor
@NoArgsConstructor
public class RemarkDto {
    private int remarkId;
    private int parentId;
    private String UserName;
    private String UserHead;
    private String RemarkContent;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;
    private String replyName;
    private List<RemarkDto> remarkDtoChild;
}
